using System;
using System.Collections.Generic;
using SinBiota.Model.Entities;

namespace SinBiota.Model.Business.PersistenceServices.Interfaces
{
    public interface IRolePersistenceServices
    {
        Role FindById(int id);
        IList<Role> FindAll();
        void Delete(Role role);
        void DeleteById(int id);
        void Save(Role role);
        void Update(Role role);
        Role FindByName(string name);
    }
}